package com.dwh.service;

import java.util.List;

import com.dwh.model.User;
import com.dwh.msg.Result;

public interface UserService {
	
	public List<User> findAllUser();
	
	public User addUser(User user);
	
	public User findUserById(int id);
	
	public List<User> findUserByName(String name);
	
	public User modifyUser(User user);
	
	public void delUser(int id);
	
	public Result<User> addOneUser(User user) throws Exception;

}
